package xc.com.common;


import lombok.Data;

import java.util.List;

@Data
public class PageVo<T> {

    /**
     * 总记录数
     */
    private Long total;

    /**
     * 当前页的数据
     */
    private List<T> rows;

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public List<T> getRows() {
        return rows;
    }

    public void setRows(List<T> rows) {
        this.rows = rows;
    }
}
